<?
/**
 * This class contains all the constants for accessing LivraApi
 * author: livracode@gmail.com
 */

class LivraConstants{

  public static $TO_LIVRA_URL = "http://localhost:3999";

/* not used anymore 
  public static function requestTokenURL() { return self::$TO_LIVRA_URL.'/oauth/request-token'; }
  public static function authorizeURL() { return self::$TO_LIVRA_URL.'/oauth/authorization'; }
  public static function accessTokenURL() { return self::$TO_LIVRA_URL.'/oauth/access-token'; }
*/

  public static function getPickUrl(){ return self::$TO_LIVRA_URL . '/api/readonly/picks/get_pick.xml';}
  public static function getPicksUrl(){ return self::$TO_LIVRA_URL . '/api/readonly/picks/get_picks.xml';}
  public static function getCategoriesUrl(){ return self::$TO_LIVRA_URL . '/api/readonly/categories/get_categories.xml';}  
  public static function getVotePickUrl(){ return self::$TO_LIVRA_URL . '/api/readonly/picks/vote_pick';}  

}

?>